package tool

import play.api.data.Form
import play.api.data.Forms._
import tool.Pojo._

/**
 * Created by yz on 13/11/2020
 */
object FormTool {

  val geneIdForm = Form(
    mapping(
      "geneId" -> text
    )(GeneIdData.apply)(GeneIdData.unapply)
  )

  val fileNameForm = Form(
    mapping(
      "fileName" -> text
    )(FileNameData.apply)(FileNameData.unapply)
  )

}
